#
with open('basic_11_2.txt', 'r+') as f:
    lines = f.readlines()

print(lines)  # ['helloworld\n', 'helloworld2\n', 'helloworld3\n']
